package client;
import client.DeveComPost_GUI;
import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Font;

public class DeveApplySuc_GUI extends JDialog {

	private final JPanel contentPanel = new JPanel();

	/**
	 * Launch the application.
	 *//*
	public static void main(String[] args) {
		try {
			DeveApplySuc_GUI dialog = new DeveApplySuc_GUI();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog.
	 */
	public DeveApplySuc_GUI() {
		setTitle("\u5E94\u8058\u6210\u529F");
		setModalityType(ModalityType.APPLICATION_MODAL);
		setBounds(100, 100, 450, 300);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		contentPanel.setLayout(null);
		
		JLabel label = new JLabel("\u606D\u559C\u60A8\uFF0C\u4F60\u5DF2\u7ECF\u6210\u529F\u5165\u804C\u6211\u4EEC\u516C\u53F8\uFF01");
		label.setFont(new Font("幼圆", Font.PLAIN, 18));
		label.setBounds(68, 44, 308, 48);
		contentPanel.add(label);
		
		JButton button = new JButton("\u8FDB\u5165\u516C\u53F8");
		button.setFont(new Font("宋体", Font.PLAIN, 15));
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
				DeveComPost_GUI dialog = new DeveComPost_GUI();
				dialog.setLocationRelativeTo(null);
				dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
				dialog.setVisible(true);
			}
		});
		button.setBounds(68, 102, 100, 50);
		contentPanel.add(button);
		
		JButton button_1 = new JButton("\u79BB\u5F00\u516C\u53F8");
		button_1.setFont(new Font("宋体", Font.PLAIN, 15));
		button_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				dispose();
			}
		});
		button_1.setBounds(202, 102, 100, 50);
		contentPanel.add(button_1);
		
	}
}
